package src.main.java.org.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE,ElementType.METHOD}) //当前被修饰的注解只能用在类上、方法上
@Retention(RetentionPolicy.RUNTIME)
public @interface MyTest2 {
}
